package pig.model;


public class DealVO {//딜정보
	private String dealNumber;//상품번호
	private String dealTitle; //상품명
	private int dealPrice;//상품가격
	private int dealCount;//수량
	private String dealRegisterDate;//등록일
	private String dealEndDate;//마감일
	private String sellerId;//판매자아이디
	private String category;//카테고리
	private String dealImage; // 이미지 추가
	
	public DealVO() {
		super();
	}
	
	public DealVO(String dealNumber, String dealTitle, int dealPrice,
			int dealCount, String dealRegisterDate, String dealEndDate,
			String sellerId, String category, String dealImage) {
		super();
		this.dealNumber = dealNumber;
		this.dealTitle = dealTitle;
		this.dealPrice = dealPrice;
		this.dealCount = dealCount;
		this.dealRegisterDate = dealRegisterDate;
		this.dealEndDate = dealEndDate;
		this.sellerId = sellerId;
		this.category = category;
		this.dealImage = dealImage;
	}
	
	public String getDealNumber() {
		return dealNumber;
	}
	
	public void setDealNumber(String dealNumber) {
		this.dealNumber = dealNumber;
	}
	
	public String getDealTitle() {
		return dealTitle;
	}
	
	public void setDealTitle(String dealTitle) {
		this.dealTitle = dealTitle;
	}
	
	public int getDealPrice() {
		return dealPrice;
	}
	
	public void setDealPrice(int dealPrice) {
		this.dealPrice = dealPrice;
	}
	
	public int getDealCount() {
		return dealCount;
	}
	
	public void setDealCount(int dealCount) {
		this.dealCount = dealCount;
	}
	
	public String getDealRegisterDate() {
		return dealRegisterDate;
	}
	
	public void setDealRegisterDate(String dealRegisterDate) {
		this.dealRegisterDate = dealRegisterDate;
	}
	
	public String getDealEndDate() {
		return dealEndDate;
	}
	
	public void setDealEndDate(String dealEndDate) {
		this.dealEndDate = dealEndDate;
	}
	
	public String getSellerId() {
		return sellerId;
	}
	
	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}
	
	public String getCategory() {
		return category;
	}
	
	public void setCategory(String category) {
		this.category = category;
	}
	
	public String getDealImage() {
		return dealImage;
	}
	
	public void setDealImage(String dealImage) {
		this.dealImage = dealImage;
	}
	
	@Override
	public String toString() {
		return "DealVO [dealNumber=" + dealNumber + ", dealTitle=" + dealTitle
				+ ", dealPrice=" + dealPrice + ", dealCount=" + dealCount
				+ ", dealRegisterDate=" + dealRegisterDate + ", dealEndDate="
				+ dealEndDate + ", sellerId=" + sellerId + ", category="
				+ category + ", dealImage=" + dealImage + "]";
	}
}
